"""HelloWorld URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.10/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.conf.urls import url, include
    2. Add a URL to urlpatterns:  url(r'^blog/', include('blog.urls'))
"""
from django.conf.urls import url
from django.contrib import admin
from HelloWorld.view import hello
from people import views as people_views
from meetingroom import  views as mr_views
urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url(r'^hello/', hello),
    url(r'^add/',people_views.add,name='add'),
    url(r'^login/',mr_views.login,name='login'),
    url(r'^myLogout/',mr_views.myLogout,name='logout'),
    url(r'^loginView/',mr_views.loginView,name='loginView'),
    url(r'^ajax_list/',mr_views.ajax_list,name='ajax_list'),
    url(r'^index/',mr_views.index,name='index'),
    url(r'^roomManage/',mr_views.roomManage,name='roomManage'),
    url(r'^editRoom/',mr_views.editRoom,name='editRoom'),
    url(r'^deleteRoom/', mr_views.deleteRoom, name='deleteRoom'),
    url(r'^bookRoom/', mr_views.bookRoom, name='bookRoom'),
    url(r'^bookedit/', mr_views.bookedit, name='bookedit'),
    url(r'^meetingApproval/', mr_views.meetingApproval, name='meetingApproval'),
    url(r'^passRoomBook/', mr_views.passRoomBook, name='passRoomBook'),
    url(r'^mybook/', mr_views.mybook, name='mybook'),
    url(r'^myjoinMeeting/', mr_views.myjoinMeeting, name='myjoinMeeting'),
    url(r'^getRoomBooking/', mr_views.getRoomBooking, name='getRoomBooking'),
    url(r'^bookDetail/', mr_views.bookDetail, name='bookDetail'),
    url(r'^deleteMyRoomBooking/', mr_views.deleteMyRoomBooking, name='deleteMyRoomBooking'),
    url(r'^addRoom/', mr_views.addRoom, name='addRoom'),
    url(r'^getRoom/',mr_views.getRoom,name='getRoom'),

]
